package com.lai.hospital.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @author : lai
 * @version V1.0
 * @Project: hospital-springboot
 * @Package com.lai.hospital.vo
 * @Description: 医院VO
 * @date Date : 2022年11月22日 14:26
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "医院")
public class HospitalVO {

    /**
     * id
     */
    @ApiModelProperty(name = "id",value = "医院id",dataType = "Integer")
    private Integer id;

    /**
     * 医院名称
     */
    @NotBlank(message = "医院名称不能为空")
    @ApiModelProperty(name = "hospitalName",value = "医院名称",required = true,dataType = "String")
    private String hospitalName;

    /**
     * 医院缩略图
     */
    @ApiModelProperty(name = "cover",value = "医院缩略图",dataType = "String")
    private String cover;

    /**
     * 医院等级
     */
    @NotBlank(message = "医院等级不能为空")
    @ApiModelProperty(name = "level",value = "医院等级",required = true,dataType = "String")
    private String level;

    /**
     * 医院位置
     */
    @NotBlank(message = "医院位置不能为空")
    @ApiModelProperty(name = "location",value = "医院位置",required = true,dataType = "String")
    private String location;

    /**
     * 医院电话
     */
    @NotBlank(message = "医院电话不能为空")
    @ApiModelProperty(name = "phone",value = "医院电话",required = true,dataType = "String")
    private String phone;

    /**
     * 医院网站
     */
    @ApiModelProperty(name = "cover",value = "医院缩略图",dataType = "String")
    private String website;

    /**
     * 医院简介
     */
    @NotBlank(message = "医院简介不能为空")
    @ApiModelProperty(name = "introduction",value = "医院简介",required = true,dataType = "String")
    private String introduction;
}
